using System.ComponentModel.DataAnnotations;

namespace ZZ_ICU.Models
{
    /// <summary>
    /// 用于患者信息修改的视图模型
    /// </summary>
    public class ZZJH_V_PatientInfo
    {
        /// <summary>
        /// 床号
        /// </summary>
        public string BedNo { get; set; }
        
        /// <summary>
        /// 患者姓名
        /// </summary>
        [Required(ErrorMessage = "患者姓名不能为空")]
        public string Name { get; set; }
        
        /// <summary>
        /// 住院号
        /// </summary>
        [Required(ErrorMessage = "住院号不能为空")]
        public string InHosNo { get; set; }
        
        /// <summary>
        /// 性别
        /// </summary>
        [Required(ErrorMessage = "性别不能为空")]
        public string Sex { get; set; } = string.Empty;
        
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? BirthDay { get; set; }
        
        /// <summary>
        /// 入科时间
        /// </summary>
        public DateTime? InDepartmentDate { get; set; }
        
        /// <summary>
        /// 住院科室
        /// </summary>
        public string InHosDept { get; set; }
        
        /// <summary>
        /// 主治医生
        /// </summary>
        public string Doctor { get; set; }
        
        /// <summary>
        /// 责任护士
        /// </summary>
        public string Nurse { get; set; }
        
        /// <summary>
        /// 诊断
        /// </summary>
        public string Diagnosis { get; set; }
        
        /// <summary>
        /// 身份证号
        /// </summary>
        public string? IdCard { get; set; }
        
        /// <summary>
        /// 民族
        /// </summary>
        public string Nation { get; set; }
        
        /// <summary>
        /// 入院日期
        /// </summary>
        public DateTime? InHospitalDate { get; set; }
        
        /// <summary>
        /// 出院日期
        /// </summary>
        public DateTime? OutHospitalDate { get; set; }
        
        /// <summary>
        /// 入院类型
        /// </summary>
        public string AdmissionType { get; set; }
        
        /// <summary>
        /// 护理等级
        /// </summary>
        public string CareLevel { get; set; }
        
        /// <summary>
        /// 家庭住址
        /// </summary>
        public string HomeAddress { get; set; }
        
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone { get; set; }
        
        /// <summary>
        /// 工作单位
        /// </summary>
        public string WorkUnit { get; set; }
        
        /// <summary>
        /// 联系人地址
        /// </summary>
        public string ContactAddress { get; set; }
        
        /// <summary>
        /// 联系人电话
        /// </summary>
        public string ContactPhone { get; set; }
        
        /// <summary>
        /// 联系人关系
        /// </summary>
        public string ContactRelation { get; set; }
        
        /// <summary>
        /// 结算方式
        /// </summary>
        public string SettlementMethod { get; set; }
        
        /// <summary>
        /// 副主任医师
        /// </summary>
        public string AssociatePhysician { get; set; }
        
        /// <summary>
        /// 主任医师
        /// </summary>
        public string ChiefPhysician { get; set; }
        
        /// <summary>
        /// 危险程度
        /// </summary>
        public string DangerLevel { get; set; }
    }
}